<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title></title>
    <title></title>
    <link rel="stylesheet" href="../../javascript/plug-ins/layui/css/layui.css" media="all" />

    <link rel="stylesheet" href="../../css/style.css" />
    <script src="../../javascript/jquery.js"></script>
    <script type="text/javascript" src="../../javascript/plug-ins/layui/layui.js"></script>
    <script src="../../js/zyrpublic.js?v=2"></script>
    <script src="../../js/zyrfunction.js?v=1.01"></script>
    <script src="../../javascript/ueditor/ueditor.config.js"></script>
    <script src="../../javascript/ueditor/ueditor.all.js"></script>
    <script src="js/add_product.js?v=1.12"></script>

</head>

<body>
    <div class="leftRightInfo">
        <div onclick="tops();" style="background: grey;margin: 10px 0;padding: 2px;cursor:pointer">到顶部↑</div>
        <div onclick="bottoms();" style="background: grey;margin: 10px 0;padding: 2px;cursor:pointer">到底部↓</div>
    </div>
    <div class="page-wrap">
        <section class="page-hd t">
            <header>
                <h5 class="title">
                    <a href="add_product.html" class="red">编辑商品详情</a>
                </h5>
            </header>
            <hr>
        </section>

        <div class="panel panel-default">

            <div class="form-content">

                <form>
                    <div class="form-group-col-2">
                        <div class="form-label">类型：</div>
                        <div class="form-cont">
                            <select class="width30 prize_select" id="types" disabled>
						  <option value="-1">请选择商品类型</option>
						</select>
                        </div>
                    </div>
                    <div class="form-group-col-2">
                        <div class="form-label">商品编号：</div>
                        <div class="form-cont">
                            <input class="form-control width30" id="identify" type="text" readonly value="" placeholder="请输入商品编号" />
                        </div>
                    </div>
                    <div class="form-group-col-2">
                        <div class="form-label">商品名称：</div>
                        <div class="form-cont">
                            <input class="form-control width30" id="pro_name" type="text" readonly value="" placeholder="请输入产品名称" />
                        </div>
                    </div>
                    <div class="form-group-col-2">
                        <div class="form-label">品牌名称：</div>
                        <div class="form-cont">
                            <input class="form-control width30" id="bname" type="text" readonly value="" placeholder="请输入品牌名称" />
                        </div>
                    </div>

                    <div class="form-group-col-2">
                        <div class="form-label">排序：</div>
                        <div class="form-cont">
                            <input class="form-control width30" id="sort" type="number" readonly value="0" placeholder="请输入排序" />
                            <span>排序越大,商品越靠前</span>
                        </div>
                    </div>

                    <!--				<div class="form-group-col-2">-->
                    <!--					<div class="form-label">销量：</div>-->
                    <!--					<div class="form-cont">-->
                    <!--						<input class="form-control width30" id="num" type="number" value="0" placeholder="请输入销量" />-->
                    <!--					</div>-->
                    <!--				</div>-->
                    <div class="form-group-col-2">
                        <div class="form-label">是否可以免费兑换：</div>
                        <div class="form-cont" class="exchanges" disabled>
                            <label class="radio">
							<input type="radio" value="1" checked="checked" name="exchanges" /><span>是</span>
						</label>
                            <label class="radio">
							<input type="radio" value="0" name="exchanges" /><span>否</span>
						</label>
                        </div>
                    </div>
                    <div class="form-group-col-2">
                        <div class="form-label">是否上架：</div>
                        <div class="form-cont" class="isshelves" disabled>
                            <label class="radio">
							<input type="radio" value="1" checked="checked" name="isshelves" /><span>上架</span>
						</label>
                            <label class="radio">
							<input type="radio" value="0" name="isshelves" /><span>下架</span>
						</label>
                        </div>
                    </div>
                    <div class="form-group-col-2">
                        <div class="form-label">是否赠品：</div>
                        <div class="form-cont" class="give" disabled>
                            <label class="radio">
							<input type="radio" value="1" checked="checked"  name="give" /><span>是</span>
						</label>
                            <label class="radio">
							<input type="radio" value="0" name="give" /><span>否</span>
						</label>
                        </div>
                    </div>

                    <div class="form-group-col-2">
                        <div class="form-label">是否包邮：</div>
                        <div class="form-cont" class="isfree" disabled>
                            <label class="radio">
							<input type="radio" value="1" checked="checked" name="isfree" /><span>不包邮</span>
						</label>
                            <label class="radio">
							<input type="radio" value="0" name="isfree" /><span>包邮</span>
						</label>
                        </div>
                    </div>

                    <div class="form-group-col-2">
                        <div class="form-label">新品首发：</div>
                        <div class="form-cont" class="isnew" disabled>
                            <label class="radio">
							<input type="radio" value="0" checked="checked" name="isnew" /><span>否</span>
						</label>
                            <label class="radio">
							<input type="radio" value="1" name="isnew" /><span>是</span>
						</label>
                        </div>
                    </div>

                    <div class="form-group-col-2">
                        <div class="form-label">镇店之宝：</div>
                        <div class="form-cont" class="iscrux" disabled>
                            <label class="radio">
							<input type="radio" value="0" checked="checked" name="iscrux" /><span>否</span>
						</label>
                            <label class="radio">
							<input type="radio" value="1" name="iscrux" /><span>是</span>
						</label>
                        </div>
                    </div>

                    <div class="form-group-col-2">
                        <div class="form-label">匠心之作：</div>
                        <div class="form-cont" class="isrecomm" disabled>
                            <label class="radio">
							<input type="radio" value="0" checked="checked" name="isrecomm" /><span>否</span>
						</label>
                            <label class="radio">
							<input type="radio" value="1" name="isrecomm" /><span>是</span>
						</label>
                        </div>
                    </div>



                    <div class="form-group-col-2">
                        <div class="form-label">套餐：</div>
                        <div class="form-cont">
                            <div class="add_rules" id="rules_old"><input type="button" class="btn btn-info add_rulesbtn margin_buttom10" disabled value="+新增套餐类型" /></div>
                        </div>
                        <!--form-cont--->
                    </div>
                    <!--form-group-col-2---->

                    <!--	商品首页图片	-->
                    <div class="form-group-col-2" id="adv_picture">
                        <div class="form-label">商品首页图片：</div>
                        <div class="form-cont">
                            <input class="btn btn-warning" value="请上传图片" disabled type="button" id="uploadimgs" />
                            <span class="word-aux"><i class="icon-warning-sign"></i>请上传的图片宽高比例为1:1</span>
                        </div>
                    </div>

                    <div class="form-group-col-2" id="divpreview" style="display:none">
                        <div class="form-label"></div>
                        <div class="form-cont">
                            <img id="preview" src="#" height="100" />
                            <p id="demoText"></p>
                        </div>
                    </div>

                    <div class="img_list">
                        <div class="form-group-col-2 goods_list">
                            <div class="form-label">商品轮播图片：</div>
                            <div class="form-cont">
                                <input type="file" name="file" onchange="upload_img(this,'productImg');" style="display: none;" />
                                <input class="btn btn-warning" value="请上传图片" disabled onclick="addclick(this)" type="button" />
                                <span class="word-aux">请上传的图片宽高比例为1:1</span>
                            </div>
                        </div>

                        <div class="form-group-col-2" id="divpreviews" class="divpreview" style="display:none">
                            <div class="form-label"></div>
                            <div class="form-cont">
                                <img id="previews" class="preview" src="#" height="100" />
                                <p id="demoTexts" class="demoText"></p>
                            </div>
                        </div>
                    </div>
                    <p class="margin_buttom10" style="margin-top: 5px;margin-left: 150px;">
                        <input id="addqujian" class="btn btn-info" disabled type="button" value="添加图片" />
                        <input id="removequjian" class="btn btn-primary" disabled type="button" value="删除图片" />
                    </p>
                    <!-- 商品轮播图片 END-->


                    <div class="form-group-col-2">
                        <div class="form-label">描述：</div>
                        <div class="form-cont">
                            <script id="container" class="width90" name="content" type="text/plain"></script>
                            <script type="text/javascript">
                                var ue = UE.getEditor('container');
                            </script>
                        </div>
                    </div>

                    <div class="form-group-col-2">
                        <div class="form-label"></div>
                        <div class="form-cont">
                            <input type="button returns" value="返回" class="btn btn-danger" onclick="re()" />
                        </div>
                    </div>




                </form>


            </div>
            <!--form--->


        </div>
        <!---panel--->

    </div>
    <!---page-wrap------>


</body>

</html>